package com.qf;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 启动类 | 引导类
 * @author lixu
 */
@SpringBootApplication
@MapperScan(basePackages = {"com.qf.mapper"})//要求：接口与Mapper文件同包且同名
public class SpringBootMybatisApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootMybatisApplication.class,args);
    }
}
